package com.redstars.generate.convert;

import com.redstars.generate.entity.SysFieldType;
import com.redstars.generate.vo.SysFieldTypeVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;

/**
* 字段类型管理
*
* @author zhouhx 
* @since 1.0.0 2022-10-05
*/
@Mapper
public interface SysFieldTypeConvert {
    SysFieldTypeConvert INSTANCE = Mappers.getMapper(SysFieldTypeConvert.class);

    SysFieldType convert(SysFieldTypeVo vo);

    SysFieldTypeVo convert(SysFieldType entity);

    List<SysFieldTypeVo> convertList(List<SysFieldType> list);

}